﻿je_japan_unification = {
	icon = "gfx/interface/icons/event_icons/unify.dds"
	should_be_pinned_by_default = yes
	
	is_shown_when_inactive = {
		exists = c:IMP
		c:IMP = ROOT
	}
	
	possible = {
		is_subject = no
	}
	
	immediate = {
		trigger_event = {
			id = japan_unify.1
			popup = yes
		}
	}
	
	complete = {
		custom_tooltip = {
			text = je_JAP_unify
			exists = c:JAP
			c:JAP = root
		}
	}
	
	on_complete = {
		trigger_event = {
			id = japan_unify.2
		}
	}
	
	fail = {
			exists = c:JAP
			NOT = { c:JAP = root }
	}
}
